package com.xiaoku.product.mapper;

import com.xiaoku.product.model.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductMapper {

    @Select("SELECT * FROM product_detail WHERE id = #{productId}}")
    ProductInfo selectProductById(Integer productId);
}
